<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>增加房间</title>
</head>
<body>
	
	<!-- 使用include指令包含jsp文件 -->	
	<%@include file="/info/admininfo.jsp" %>
	
	<h1><font color="red">增加房间</font></h1>
	
	<s:form action="saveRoom">
		<s:textfield name="room.name" label="房间名称"></s:textfield>
		<s:textfield name="room.price" label="房间价格"></s:textfield>
		<s:textfield name="room.catagory" lable="房间类型"></s:textfield>
		
		<tr>
			<td class="tdLabel">房间状态:</td>
			<td>
				<select name="room.status">
					<option value="0" selected="selected">空闲</option>
					<option value="1">已入住</option>
				</select>
			</td>
		</tr>
		
		<s:submit value="增加"></s:submit>
		
	</s:form>





</body>
</html>